@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Onest:wght@300;500&display=swap');

:root {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html {
    font-size: 16px;
    font-family: "Amatic SC", sans-serif;
    font-weight: 400;
    color: #fff;
}

body, html {
    margin: 0;
}

body {
    width: 100%;
    height: 100dvh;
    background: hsl(277, 14%, 18%);
    overflow: auto;
}

.background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-y: auto;
}

.background > * {
    width: 60vw;
}

.background > .title > p{
    font-size: 4rem;
    margin-top: 0;
    text-align: center;
}

.canvas-component {
    width: 60vw;
    margin-bottom: 1rem;
}

@media (max-width: 430px) {
    .canvas-component {
        width: 90vw;
    }
}

.canvas-component__top, 
.canvas-component__bottom {
    height: 3rem;
    background-color: rgb(255, 153, 51);
}

.canvas-component__body {
    background-color: #fff;
    margin: 0 1rem;
    min-height: 250px;
    min-height: 350px;
}

.canvas-component__body canvas {
    display: block;
}

.canvas-tools {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.canvas-tools > * {
    flex: 1 1 50%;
    margin-top: 1rem;
}

.tools__color-line p, .tools__width-line p {
    margin-top: 0;
    text-align: center;
    font-size: 1.5rem;
}

.tools__color-line, .tools__width-line {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tools__color-line > input {
    width: 100%;
}